package com.kexun.service.impl;

import com.kexun.pojo.User;
import com.kexun.service.PublicService;
import com.kexun.dao.PublicDao;
import com.kexun.dao.impl.PublicDaoImpl;

public class PublicServiceImpl implements PublicService {
    private PublicDao pd = new PublicDaoImpl();

    /**
     *
     * 登录
     * @param num
     * @return
     */

    @Override
    public User login(String num) {
        User user = pd.login(num);
        return user;
    }
}
